<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>分类|团购网</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="shortcut icon" href="img/tuangou.ico" />
		<link rel="stylesheet" href="css/swiper.css">
		<link rel="stylesheet" type="text/css" href="css/common.css"/>
		<link rel="stylesheet" type="text/css" href="css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="css/classification.css"/>
	</head>
	<body>
		<!-- 头部s -->
		<header class="clearfix">
			<div class="back fl"><a href="https://wei8ba.gitee.io/shop/homepage.html">Back</a></div>
			<div class="selectBar fr">
				<select name="">
					<option value="">广州市</option>
					<option value="">佛山市</option>
					<option value="">深圳市</option>
				</select>
			</div>
			<div class="title">分类</div>
		</header>
		<!-- 头部e -->
		
		<!-- 主体s -->
		<section>
			<!-- 轮播图 -->
			<div class="swiper-container">
				<div class="swiper-wrapper">
					<div class="swiper-slide">
						<div class="kv-box">
					<a href="">
						<img src="img/kv-flood.png" alt="" />
					    <p>美食</p>
				    </a>
				</div>
				<div class="kv-box">
					<a href="">
						<img src="img/kv-movie.png" alt="" />
						<p>电影</p>
					</a>
				</div>
				<div class="kv-box">
					<a href="">
						<img src="img/kv-sport.png" alt="" />
						<p>运动</p>
					</a>
				</div>
				<div class="kv-box">
					<a href="">
						<img src="img/kv-sing.png" alt="" />
						<p>唱歌</p>
					</a>
				</div>
					</div>
					
                    <div class="swiper-slide">
						<div class="kv-box">
					<a href="">
						<img src="img/kv-flood.png" alt="" />
					    <p>美食</p>
				    </a>
				</div>
				<div class="kv-box">
					<a href="">
						<img src="img/kv-movie.png" alt="" />
						<p>电影</p>
					</a>
				</div>
				<div class="kv-box">
					<a href="">
						<img src="img/kv-sport.png" alt="" />
						<p>运动</p>
					</a>
				</div>
				<div class="kv-box">
					<a href="">
						<img src="img/kv-sing.png" alt="" />
						<p>唱歌</p>
					</a>
				</div>
                    </div>
                    
                    <div class="swiper-slide">
                    	<div class="kv-box">
					<a href="">
						<img src="img/kv-flood.png" alt="" />
					    <p>美食</p>
				    </a>
				</div>
				<div class="kv-box">
					<a href="">
						<img src="img/kv-movie.png" alt="" />
						<p>电影</p>
					</a>
				</div>
				<div class="kv-box">
					<a href="">
						<img src="img/kv-sport.png" alt="" />
						<p>运动</p>
					</a>
				</div>
				<div class="kv-box">
					<a href="">
						<img src="img/kv-sing.png" alt="" />
						<p>唱歌</p>
					</a>
				</div>
                    </div>
                </div>
                <div class="swiper-pagination"></div>
           </div>
			<!-- 美食类 -->
			<div class="detail">
				<!-- 栏目名 -->
				<div class="title clearfix">
					<img class="fl flood" src="img/flood.png"/>
					<p class="fl p1">美食类</p>
					<img class="fr more" src="img/more.png"/>
					<p class="fr p2">更多</p>
				</div>
				<!-- 图片 -->
				<div class="detail-img">
					<img src="img/flood1.jpg" alt="" />
					<img src="img/flood2.jpg" alt="" />
					<img src="img/flood3.jpg" alt="" />
					<img src="img/flood4.jpg" alt="" />
				</div>
			</div>
			<!-- 运动类 -->
			<div class="detail">
				<!-- 栏目名 -->
				<div class="title clearfix">
					<img class="fl sport" src="img/sport.png"/>
					<p class="fl p1">运动类</p>
					<img class="fr more" src="img/more.png"/>
					<p class="fr p2">更多</p>
				</div>
				<!-- 图片 -->
				<div class="detail-img">
					<img src="img/sport1.jpg" alt="" />
					<img src="img/sport2.jpg" alt="" />
					<img src="img/sport3.jpg" alt="" />
					<img src="img/sport4.jpg" alt="" />
				</div>
			</div>
			<!-- 电影类 -->
			<div class="detail">
				<!-- 栏目名 -->
				<div class="title clearfix">
					<img class="fl movie" src="img/movie.png"/>
					<p class="fl p1">电影类</p>
					<img class="fr more" src="img/more.png"/>
					<p class="fr p2">更多</p>
				</div>
				<!-- 图片 -->
				<div class="detail-img">
					<img src="img/movie1.jpg" alt="" />
					<img src="img/movie2.jpg" alt="" />
					<img src="img/movie1.jpg" alt="" />
					<img src="img/movie2.jpg" alt="" />
				</div>
			</div>
			<!-- 唱歌类 -->
			<div class="detail">
				<!-- 栏目名 -->
				<div class="title clearfix">
					<img class="fl sing" src="img/hot.PNG"/>
					<p class="fl p1">唱歌类</p>
					<img class="fr more" src="img/more.png"/>
					<p class="fr p2">更多</p>
				</div>
				<!-- 图片 -->
				<div class="detail-img">
					<img src="img/kv-sing.png" alt="" />
					<img src="img/kv-sing.png" alt="" />
					<img src="img/kv-sing.png" alt="" />
					<img src="img/kv-sing.png" alt="" />
				</div>
			</div>
		</section>
		<!-- 主体e -->
		
		<!-- 尾部s -->
		<footer>
			<a class="foot" href="https://wei8ba.gitee.io/shop/homepage.html">
				<img class="homepage" src="img/homepage.png"/>
				<p>首页</p>
			</a>
			<a class="foot" href="https://wei8ba.gitee.io/shop/classification.html">
				<img class="classification" src="img/classification1.png"/>
				<p>分类</p>
			</a>
			<a class="foot" href="https://wei8ba.gitee.io/shop/found.html">
				<img class="found" src="img/found.png"/>
				<p>发现</p>
			</div>
			<a class="foot" href="https://wei8ba.gitee.io/shop/my.html">
				<img class="my" src="img/my.png"/>
				<p>我的</p>
			</a>
		</footer>
		<!-- 尾部e -->
		
		<!-- 脚本 -->
		<script type="text/javascript">
			document.body.style.height = window.innerHeight + "px";
    
    /*动态改变根元素字体大小*/
    function recalc() {
    	//获取客户端宽度
        var clientWidth = document.documentElement.clientWidth;
        if(!clientWidth) return;
        // 字体大小   = 1个rem单位表示多少个像素（设备的宽度   /设计宽度）
        document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
        
    }

    function initRecalc() {
        recalc();
        // if(浏览器支持横竖屏切换的事件){横竖屏事件}else{ resize事件 }
        var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
        if(!document.addEventListener) return;
        window.addEventListener(resizeEvt, recalc, false);
        document.addEventListener('DOMContentLoaded', recalc, false);
    }
        initRecalc();

		</script>
		<script src="js/swiper.js"></script>
		<script>
			var mySwiper = new Swiper('.swiper-container',{
				 direction: 'horizontal',// 水平切换选项
				 loop: true,              //是否需要循环
				 pagination: {
				 	el: '.swiper-pagination',
				 	},
			})	
		</script>
	</body>
</html>
